package com.ruoyi.flowable.mapper;

import com.ruoyi.flowable.domain.WfCategory;
import com.ruoyi.flowable.domain.vo.WfCategoryVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;

/**
 * 流程分类Mapper接口
 *
 * @author KonBAI
 * @date 2022-01-15
 */
@Mapper
public interface WfCategoryMapper {

    List<WfCategoryVo> selectListByCond(WfCategory category);

    int insert(WfCategory add);

    int updateById(WfCategory update);

    int deleteBatchIds(Collection<Long> ids);

    int countByCond(WfCategory category);

    WfCategoryVo selectOneById(Long categoryId);
}
